
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="com.blockchain.front.servlets.content.bzzx.BzzxList"%>
<%@page import="com.blockchain.front.servlets.content.bzzx.BzzxItem"%>
<%@page import="com.blockchain.front.service.content.entity.QuestionEntity"%>
<%@page import="com.blockchain.common.enums.QuestionType"%>
<html>
<head>
<%
String str = languageDefine.getValue(request, "helpCenter_question");
String _TITLE_ = str + "- "+configureProvider.getProperty(SystemVariable.SITE_NAME);
CURRENT_SUB_CATEGORY = "BZZC";
ContentManage manage = serviceSession.getService(ContentManage.class);
Paging paging = new Paging() {
	
	@Override
	public int getSize() {
		return 8;
	}
	
	@Override
	public int getCurrentPage() {
		return 1;
	}
};
%>
<title><%=_TITLE_ %></title>
<%@include file="/WEB-INF/include/meta.jsp"%>
<%@include file="/WEB-INF/include/style.jsp"%>
</head>
<body>
<%@include file="/WEB-INF/include/header.jsp"%>
<div class="autobox">
    <div class="now">
      <a href="<%=controller.getURI(request, Index.class)%>" class="orange"><%=languageDefine.getValue(request, "menu_home")%></a> &gt;<a href="<%=controller.getViewURI(request,Bzzx.class)%>" class="orange"><%=languageDefine.getValue(request, "helpCenter_question")%></a>
    </div>
    <div class="assets_center clear po_re zin70">
     <%@include file="/WEB-INF/include/bzzx/left.jsp"%>
      <!--右侧内容-->
        <div class="assets_content w900 right bg_w mh1500">
            <h1 class="h1news"><%=languageDefine.getValue(request, "helpCenter_question")%></h1>
            <div class="questionBox">
                <ul class="questionTitle">
					 <%for(QuestionType type:QuestionType.values()) { if(type.name() == "CZTX") continue;%>	
                    <li>
                        <h3>
                            <a href="<%=controller.getPagingItemURI(request, BzzxList.class,type.name())%>"><%=backgroundDataFlag==1?type.getName():backgroundDataFlag==2?type.getNameEn():type.getNameTw()%></a>
                            <a href="<%=controller.getPagingItemURI(request, BzzxList.class,type.name())%>" class="h_more"><%=languageDefine.getValue(request, "helpCenter_more")%>&gt;&gt;</a>
                        </h3>
                        <ul class="questionList">
                        <%{PagingResult<QuestionEntity> ddRecords= manage.search(type,paging);
						QuestionEntity[] es = ddRecords.getItems();
						if(es!=null&&es.length>0){ for(QuestionEntity s:es){%>
                            <li><a href="<%=controller.getPagingItemURI(request, BzzxItem.class,s.id)%>"><%StringHelper.filterHTML(out, backgroundDataFlag==1?s.question:backgroundDataFlag==2?s.questionEn:s.questionTw);%></a></li>
                            <%}}}%>
                        </ul>
                    </li>
                    <%}%>
                    </ul>
            </div>
        </div>
    </div>
</div>
<%@include file="/WEB-INF/include/footer.jsp"%>
<%@include file="/WEB-INF/include/script.jsp"%>
</body>
</html>	
